GtkMenuButton: do not mention GtkArrow in the docs
authorPaolo Borelli <pborelli@gnome.org>
Sun, 20 Jul 2014 08:29:09 +0000 (10:29 +0200)
committerPaolo Borelli <pborelli@gnome.org>
Mon, 21 Jul 2014 13:26:09 +0000 (15:26 +0200)
GtkArrow is deprecated and is not used internally anymore by the
menu button. Document also the fact that if no direction is specified
then the view-context-menu icon is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=733441

gtk/gtkmenubutton.c

index 5130e3582221e369f74d9bfa0771f6c665ee56d1..605937aad3ada9159ff0312d25efe4215e1fc1e1 100644 (file)
  *
  * The #GtkMenuButton widget can hold any valid child widget. That is, it
  * can hold almost any other standard #GtkWidget. The most commonly used
- * child is the provided #GtkArrow.
+ * child is #GtkImage. If no widget is explicitely added to the #GtkMenuButton,
+ * a #GtkImage is automatically created, using an arrow image oriented
+ * according to #GtkMenuButton:direction or the generic "view-context-menu"
+ * icon if the direction is not set.
  *
  * The positioning of the popup is determined by the #GtkMenuButton:direction
  * property of the menu button.